package com.test.auth_db_auto.support.oauth2;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import org.springframework.security.oauth2.common.exceptions.OAuth2Exception;

/**
 * @ Author: .Mr
 * @ ClassName BootOAuth2Exception
 * @ Description TODO
 * @ date 2021/12/22 11:01
 * @ Version 1.0
 */
@JsonSerialize(using = BootOAuth2ExceptionJacksonSerializer.class)
public class BootOAuth2Exception extends OAuth2Exception {
    public BootOAuth2Exception(String msg, Throwable t) {
        super(msg, t);
    }

    public BootOAuth2Exception(String msg) {
        super(msg);
    }
}
